<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<?php
	
	include(__DIR__.'/../References/JavaScript.php');
	include (__DIR__.'/../References/CSS.php');	
	$pageName = $_SERVER['QUERY_STRING'];
	?>
    <title><?php echo $title;?> - Online Medicine Store</title>
    <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />  

	<?php
	/**
//session_start();
if(!isset($_SESSION['timezone']))
{
   if(!isset($_REQUEST['offset']))
   {
   ?>
   <script>
   var d = new Date()
   var offset= -d.getTimezoneOffset()/60;
   location.href = "<?php echo $_SERVER['PHP_SELF']; ?>?offset="+offset;
   </script>
   <?php    
   }
   else
   {
       $zonelist = array('Kwajalein' => -12.00, 'Pacific/Midway' => -11.00, 'Pacific/Honolulu' => -10.00, 'America/Anchorage' => -9.00, 'America/Los_Angeles' => -8.00, 'America/Denver' => -7.00, 'America/Tegucigalpa' => -6.00, 'America/New_York' => -5.00, 'America/Caracas' => -4.30, 'America/Halifax' => -4.00, 'America/St_Johns' => -3.30, 'America/Argentina/Buenos_Aires' => -3.00, 'America/Sao_Paulo' => -3.00, 'Atlantic/South_Georgia' => -2.00, 'Atlantic/Azores' => -1.00, 'Europe/Dublin' => 0, 'Europe/Belgrade' => 1.00, 'Europe/Minsk' => 2.00, 'Asia/Kuwait' => 3.00, 'Asia/Tehran' => 3.30, 'Asia/Muscat' => 4.00, 'Asia/Yekaterinburg' => 5.00, 'Asia/Kolkata' => 5.30, 'Asia/Katmandu' => 5.45, 'Asia/Dhaka' => 6.00, 'Asia/Rangoon' => 6.30, 'Asia/Krasnoyarsk' => 7.00, 'Asia/Brunei' => 8.00, 'Asia/Seoul' => 9.00, 'Australia/Darwin' => 9.30, 'Australia/Canberra' => 10.00, 'Asia/Magadan' => 11.00, 'Pacific/Fiji' => 12.00, 'Pacific/Tongatapu' => 13.00);
       $index = array_keys($zonelist, $_REQUEST['offset']);
	   if(count($index)>0)
       $_SESSION['timezone'] = $index[0];
   }
}
date_default_timezone_set($_SESSION['timezone']);
 
//rest of your code goes here
*/
?>	

</head>
<body>
    <form>
        <input type="hidden" name="hdnAddress" id="hdnAddress" />
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand"  href="index.php"><img src='Images\header1.png' alt='Order Online'/>Online Medical Store</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="index.php">Home</a></li>
                        <li><a href="?OnlineOrder">Order Medicine Online</a></li>
                         <li><a href="?Avalibility">Check Availibility</a></li>
                        <li><a href="?About">About</a></li>
                        <li><a href="?Contact">Contact</a></li>
                    </ul>
                            <ul class="nav navbar-nav navbar-right">
							<?php if(!isset($_SESSION["user"]))
								{?>
                                <li><a  href="?Register">Register</a></li>
                                <li><a  href="?Login">Log in</a></li>
								<?php }?>
                            </ul>
                            <ul class="nav navbar-nav navbar-right">
                                <li><a  href="?Manage" title="Manage your account"><?php echo $loggedinUser; ?></a></li>
                                <li>
								<?php if(isset($_SESSION["user"]))
								{?>
                                    <a href="?Logoff">Log off</a>
								<?php }?>	
                                </li>
                            </ul>
                </div>
            </div>
        </div>
		</form>
        <div class="container body-content">